inspector: Make really sure we don't inspect ourselves
authorBenjamin Otte <otte@redhat.com>
Sun, 5 Mar 2023 23:13:53 +0000 (00:13 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 5 Mar 2023 23:13:53 +0000 (00:13 +0100)
commit46552269075be2094e8ace17ee16c2d9f4743f8c
tree277decd97d5dbf5537de96ce96ed313bcda8fa6b
parent0fa1e71ef0c01a1e09993c3e6c368fd8eba15e66
inspector: Make really sure we don't inspect ourselves

The problem here is that new windows appear in the list before the
window's dispay gets set and we don't update the filter when the
display changes (would need watches support for the filtermodel).

So add this somewhat hacky method.
gtk/inspector/object-tree.c